package com.collect.tanzania.zhiAdater.zhiLevelDetail;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.collect.tanzania.R;
import com.collect.tanzania.zhiBean.zhiReceive.ZHIRPerfermanceGroupHistoryEntity;

public class ZHILevelDetailGroupHistory extends BaseQuickAdapter<ZHIRPerfermanceGroupHistoryEntity, BaseViewHolder> {

    public ZHILevelDetailGroupHistory() {
        super(R.layout.item_level_detail_group_history_list, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, ZHIRPerfermanceGroupHistoryEntity item) {
        helper.setText(R.id.tv_detail_case_date, item.getMonthDate());
        helper.setText(R.id.tv_detail_case_group, item.getGroupName());
        helper.setText(R.id.tv_detail_case_bonus, item.getBonusWithoutMoneyFlagFormat());
    }
}
